package com.yex.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-25 17:35:38
 */
@TableName("tb_user")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String share;
    /**
     * 用户名
     */
    private String username;
    /**
     * 手机号
     */
    private String mobile;
    private String area;
    /**
     * 密码
     */
    private String password;
    private String moneyPassword;

    /**
     * 真实姓名
     */
    private String photo;

    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 身份证号码
     */
    private String identityNumber;
    /**
     *
     */
    private String identityPath;
    /**
     * 证件是否提交
     */
    private Integer realValidate;
    /**
     * 1身份证 2 护照
     */
    private Integer identityType;
    /**
     * 身份认证状态，0、未认证 1已认证
     */
    private Integer validateStatus;
    /**
     * 注册日期
     */
    private Date registerTime;
    /**
     * 状态
     */
    private Integer status;
    private Integer leader;
    private BigDecimal leaderRate;
    private Date leaderTime;
    /**
     * 是否手机验证
     */
    private Integer telValidate;
    /**
     * 推荐人用户Id
     */
    private Integer introUserid;
    /**
     * 推广人数
     */
    private Integer introUserCount;
    /**
     * 级数
     */
    private Integer introDownCount;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    private Date loginTime;
    /**
     * 登录ip
     */
    private String loginIp;
    private Integer version;

    /**
     * 是否为商户
     */
    private Integer merchantState;
    /**
     * 商户名称
     */
    private String merchantName;
    /**
     * 商户联系电话
     */
    private String merchantPhone;
    /**
     * 商户联系人
     */
    private String merchantLinkman;
    /**
     * 剩余余额
     */
    private BigDecimal total;
    /**
     * 余额冻结数量
     */
    private BigDecimal frozen;

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getFrozen() {
        return frozen;
    }

    public void setFrozen(BigDecimal frozen) {
        this.frozen = frozen;
    }

    public Integer getMerchantState() {
        return merchantState;
    }

    public void setMerchantState(Integer merchantState) {
        this.merchantState = merchantState;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantPhone() {
        return merchantPhone;
    }

    public void setMerchantPhone(String merchantPhone) {
        this.merchantPhone = merchantPhone;
    }

    public String getMerchantLinkman() {
        return merchantLinkman;
    }

    public void setMerchantLinkman(String merchantLinkman) {
        this.merchantLinkman = merchantLinkman;
    }

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取：用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置：手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取：手机号
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置：密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取：密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置：真实姓名
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 获取：真实姓名
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 设置：身份证号码
     */
    public void setIdentityNumber(String identityNumber) {
        this.identityNumber = identityNumber;
    }

    /**
     * 获取：身份证号码
     */
    public String getIdentityNumber() {
        return identityNumber;
    }

    /**
     * 设置：
     */
    public void setIdentityPath(String identityPath) {
        this.identityPath = identityPath;
    }

    /**
     * 获取：
     */
    public String getIdentityPath() {
        return identityPath;
    }

    /**
     * 设置：证件是否提交
     */
    public void setRealValidate(Integer realValidate) {
        this.realValidate = realValidate;
    }

    /**
     * 获取：证件是否提交
     */
    public Integer getRealValidate() {
        return realValidate;
    }

    /**
     * 设置：1身份证 2 护照
     */
    public void setIdentityType(Integer identityType) {
        this.identityType = identityType;
    }

    /**
     * 获取：1身份证 2 护照
     */
    public Integer getIdentityType() {
        return identityType;
    }

    /**
     * 设置：身份认证状态，0、未认证 1已认证
     */
    public void setValidateStatus(Integer validateStatus) {
        this.validateStatus = validateStatus;
    }

    /**
     * 获取：身份认证状态，0、未认证 1已认证
     */
    public Integer getValidateStatus() {
        return validateStatus;
    }

    /**
     * 设置：注册日期
     */
    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    /**
     * 获取：注册日期
     */
    public Date getRegisterTime() {
        return registerTime;
    }

    /**
     * 设置：状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取：状态
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置：是否手机验证
     */
    public void setTelValidate(Integer telValidate) {
        this.telValidate = telValidate;
    }

    /**
     * 获取：是否手机验证
     */
    public Integer getTelValidate() {
        return telValidate;
    }

    /**
     * 设置：推荐人用户Id
     */
    public void setIntroUserid(Integer introUserid) {
        this.introUserid = introUserid;
    }

    /**
     * 获取：推荐人用户Id
     */
    public Integer getIntroUserid() {
        return introUserid;
    }

    /**
     * 设置：推广人数
     */
    public void setIntroUserCount(Integer introUserCount) {
        this.introUserCount = introUserCount;
    }

    /**
     * 获取：推广人数
     */
    public Integer getIntroUserCount() {
        return introUserCount;
    }

    public Integer getIntroDownCount() {
        return introDownCount;
    }

    public void setIntroDownCount(Integer introDownCount) {
        this.introDownCount = introDownCount;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置：更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取：更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置：登录ip
     */
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    /**
     * 获取：登录ip
     */
    public String getLoginIp() {
        return loginIp;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getMoneyPassword() {
        return moneyPassword;
    }

    public void setMoneyPassword(String moneyPassword) {
        this.moneyPassword = moneyPassword;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Integer getLeader() {
        return leader;
    }

    public void setLeader(Integer leader) {
        this.leader = leader;
    }

    public BigDecimal getLeaderRate() {
        return leaderRate;
    }

    public void setLeaderRate(BigDecimal leaderRate) {
        this.leaderRate = leaderRate;
    }

    public Date getLeaderTime() {
        return leaderTime;
    }

    public void setLeaderTime(Date leaderTime) {
        this.leaderTime = leaderTime;
    }

    public String getShare() {
        return share;
    }

    public void setShare(String share) {
        this.share = share;
    }
}
